<?php

namespace App\Console\Commands;

use App\Http\Controllers\Common\CommonController;
use App\Librarys\Services\Admin\AnnexService;
use Illuminate\Console\Command;
use Illuminate\Http\Request;

class Test extends Command
{
    /**
     * The name and signature of the console command.
     *
     * @var string
     */
    protected $signature = 'test';

    /**
     * The console command description.
     *
     * @var string
     */
    protected $description = 'Command description';

    /**
     * Create a new command instance.
     *
     * @return void
     */
    public function __construct()
    {
        parent::__construct();
    }

    /**
     * Execute the console command.
     *
     * @return mixed
     */
    public function handle()
    {
         $common = new CommonController();
         $arr = array("https://cj.apibdzy.com/inc/api.php?ac=videolist&pg=1","https://cj.apibdzy.com/inc/api.php?ac=videolist&pg=1","https://cj.apibdzy.com/inc/api.php?ac=videolist&pg=1","https://cj.apibdzy.com/inc/api.php?ac=videolist&pg=1","https://cj.apibdzy.com/inc/api.php?ac=videolist&pg=1","https://cj.apibdzy.com/inc/api.php?ac=videolist&pg=1","https://cj.apibdzy.com/inc/api.php?ac=videolist&pg=1","https://cj.apibdzy.com/inc/api.php?ac=videolist&pg=1","https://cj.apibdzy.com/inc/api.php?ac=videolist&pg=1","https://cj.apibdzy.com/inc/api.php?ac=videolist&pg=1","https://cj.apibdzy.com/inc/api.php?ac=videolist&pg=1","https://cj.apibdzy.com/inc/api.php?ac=videolist&pg=1","https://cj.apibdzy.com/inc/api.php?ac=videolist&pg=1","https://cj.apibdzy.com/inc/api.php?ac=videolist&pg=1","https://cj.apibdzy.com/inc/api.php?ac=videolist&pg=1","https://cj.apibdzy.com/inc/api.php?ac=videolist&pg=1","https://cj.apibdzy.com/inc/api.php?ac=videolist&pg=1","https://cj.apibdzy.com/inc/api.php?ac=videolist&pg=1","https://cj.apibdzy.com/inc/api.php?ac=videolist&pg=1","https://cj.apibdzy.com/inc/api.php?ac=videolist&pg=1","https://cj.apibdzy.com/inc/api.php?ac=videolist&pg=1","https://cj.apibdzy.com/inc/api.php?ac=videolist&pg=1","https://cj.apibdzy.com/inc/api.php?ac=videolist&pg=2","https://cj.apibdzy.com/inc/api.php?ac=videolist&pg=4","https://cj.apibdzy.com/inc/api.php?ac=videolist&pg=3");
        //$arr = ['http://xxx.baidu.com'];
        $res = $common->MuliteRequest($arr);
         print_r($res);
    }
}
